package com.lu.dog.dbrowser.bean;

import android.net.Uri;

import java.io.Serializable;

public class LogInfo implements Serializable {
    private int id;
    private String title;
    private String summary;
    private String content;
    private long createTime;
    private int type;
    //数据库返回的int类型可能为null，应使用包装类更合适
    public LogInfo() {
    }


    public LogInfo(int id, String title, String summary, String content, long createTime, int type) {
        this.id = id;
        this.title = title;
        this.summary = summary;
        this.content = content;
        this.createTime = createTime;
        this.type = type;
    }

    public String getSummary() {
        return summary;
    }

    public void setSummary(String summary) {
        this.summary = summary;
    }

    public int getType() {
        return type;
    }

    public void setType(int type) {
        this.type = type;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public long getCreateTime() {
        return createTime;
    }

    public void setCreateTime(long createTime) {
        this.createTime = createTime;
    }

    @Override
    public String toString() {
        return "LogInfo{" +
                "id=" + id +
                ", title='" + title + '\'' +
                ", summary='" + summary + '\'' +
                ", content='" + content + '\'' +
                ", createTime=" + createTime +
                ", type=" + type +
                '}';
    }

}
